<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<input type="email" name="email" id="email" value="" />
		<input type="button" name="btn" id="btn" value="发送" />
	</body>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script type="text/javascript">
		$("#btn").click(function(){
			console.log($("#email").val())
			$.ajax({
				type:"get",
				url:"http://localhost:3000/users/email",
				async:true,
				data:{
					email:$("#email").val()
				},
				success:function(res){
					console.log(res)
				}
			});
		})
	</script>
</html>
